package cn.pconline.officialclub.entity;

import org.gelivable.dao.Column;
import org.gelivable.dao.Entity;
import org.gelivable.dao.Id;

/**
 * 论坛板块信息
 *
 * @author <a href="mailto:chensy0203@163.com">chensy</a>
 */
@Entity(tableName = "oac_forum")
public class OForum extends EntityKit {

    /**
     * 相关论坛Id
     */
    @Id
    @Column(name = "forum_id")
    private long forumId;
    /**
     * 链接
     */
    @Column(name = "url")
    private String url;
    /**
     * 链接的标题
     */
    @Column(name = "title")
    private String title;
    /**
     * 论坛图标URL
     */
    @Column(name = "icon")
    private String icon;
    /**
     * 类型：1-地区，2-车系，3-主题
     */
    @Column(name = "type")
    private int type;
    public static final int TYPE_AREA = 1;
    public static final int TYPE_SERIAL = 2;
    public static final int TYPE_THEME = 3;

    public long getForumId() {
        return forumId;
    }

    public void setForumId(long forumId) {
        this.forumId = forumId;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }
}
